<%--
*
* 描述：一级栏目文件
* 
* 时间：2013-5-10
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title><s:property value="channelFatherName"/></title>
    <%@include file="/share/header.jsp"%>
    <link href="<%=request.getContextPath()%>/portal/dsnc/css/common.min.css" type=text/css rel=stylesheet>
  </head>
  <body>
	<s:action name="header_dsnc" namespace="/portal" executeResult="true"/>
	
<div class="scontent">
 <!--内容左边-->   
        <div class="scontentLeft">
             <div class="scontmenu"></div>
             <div class="scontbomtton">
             		<s:iterator value="domain.childs" status="channel">
						<div title="<s:property value='name'/>" class="scontitle"><a href="<s:property value="getURL()"/>" target="<s:if test='whetherPop==1'>_blank</s:if><s:else>_self</s:else>"><b style="color: white;"><s:property value="name"/></b></a>
						<s:if test="%{isNew()}"><img border="0" src="<%=request.getContextPath()%>/portal/dsnc/images/xin.gif"></s:if></div>
						</h2><br/><br/>
					</s:iterator>	
             			
             </div>
        </div>
 
  <!--内容右边-->  
        <div class="scontentRight">
            <div class="scontRigTop">
                <div class="scontRigTopZi">当前位置：<a href="<s:property value="domain.getURL()"/>"><s:property value="domain.name"/></a>&nbsp;</div>
                <div class="scontRigTopContrl">
	                <div class="scontRitTopContrlInputs">					
						<input type="text" id="maintitle" size="20"> 
					</div>
	                <div class="sconRigTopBtn" onclick="document.location.replace('<%=path%>/portal/search_dsnc.action?advancedSearch=false&domain.id=<s:property value="domain.id"/>&channelIds=<s:property value="defaultChannels.{id}.toString().substring(1,defaultChannels.{id}.toString().length()-1)"/>&maintitle='+$('#maintitle').val())">
	                    <div class="sconRigTopBtnLeft"></div>
	                    <div class="sconRigTopBtnMie">搜索</div>
	                    <div class="sconRigTopBtnRight"></div>
	                </div>
	                <div class="sconRigTopBtn" onclick="document.location.replace('<%=path%>/portal/search_dsnc.action?advancedSearch=true&domain.id=<s:property value="domain.id"/>&channelIds=<s:property value="defaultChannels.{id}.toString().substring(1,defaultChannels.{id}.toString().length()-1)"/>')">
	                    <div class="sconRigTopBtnLeft"></div>
	                    <div class="sconRigTopBtnMie">高级搜索</div>
	                    <div class="sconRigTopBtnRight"></div>
	                </div>
	                &nbsp;
	            </div>    
	                </div>     
	 <div class="scontRigBody">
             
    
				<table width="760" border="0" cellspacing="3" cellpadding="1">
				<s:iterator value="defaultChannels" status="channel" var="st">
					<tr>
						<td height="33" background="<%=request.getContextPath()%>/portal/dsnc/images/jjbTitle02-760.png">
							<table width="760" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="73%" class="font-14b-000000"  align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="name"/></td>
									<td width="27%" align="right"><a href="<s:property value='getURL()'/>" target="_blank"><img src="<%=request.getContextPath()%>/portal/dsnc/images/more01.gif" alt="更多" width="36" height="17" border="0"></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>	
								<%--根据当前栏目检索所属信息--%>
									<s:action name="list_dsnc" namespace="/portal" executeResult="true">
									   <s:param name="channel.id" value="%{id}"/>
									   <s:param name="pagesize" value="5"/>
									   <s:param name="titlesize" value="100"/>
									</s:action>	
						</td>
					</tr>
				</s:iterator>	
				</table>
				
				<table width="760" border="0" cellpadding="0" cellspacing="0" class="font-12-000000">
     
     <tr> 
	       </a></td>
     </tr>
     
     
   </table>	
	
	</div>
	</div>
	</div></div>
	<s:action name="bottom_dsnc" namespace="/portal" executeResult="true"/>
	
  </body>
</html>
